package photogcalc;

import javax.microedition.lcdui.Screen;

/**
 *
 * @author aokkonen
 */
public class AboutController implements AboutCommandListener {

    private ChildFormListener listener;

    private AboutView view = null;

    public AboutController(ChildFormListener listener) {
        this.listener = listener;

        view = new AboutView(this);
    }

    public void okCommand() {
        listener.signalExit();
    }

    public Screen getScreen() {
        return view.getScreen();
    }
}
